<!--
 * @Descripttion: 
 * @Author: liujx
 * @Date: 2020-06-30 09:16:33
--> 
<template>
  <div id="app">
    <router-view />
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="home">首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/goods">发布</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="user">我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
import Vue from "vue";
import { Tabbar, TabbarItem } from "vant";

Vue.use(Tabbar);
Vue.use(TabbarItem);
export default {
  data() {
    return {
      active: 0
    }
  },
};
</script>

<style>
@import url(./assets/css/common.css);
body {
  font-size: 16px;
  background-color: #f8f8f8;
  -webkit-font-smoothing: antialiased;
  max-width: 540px;
  min-width: 370px;
  margin: 0 auto;
}
</style>
